package com.duan.SpringbootMybatis.domain;

public class Order {
	
	private String id;
	
	private String name;
	
	private User user;

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Order [id=" + id + ", name=" + name + ", user=" + user + "]";
	}
	
	public Order(){
		
	}

	public Order(String id, String name, User user) {
		super();
		this.id = id;
		this.name = name;
		this.user = user;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
